package com.inews.business.service;

import com.inews.business.entity.Buyer;

public interface BuyerService {
	
	
	/**
	 * 判断用户是否存在.
	 *
	 * @param username the username
	 * @return true, if exist buyer
	 */
	public Boolean existBuyer(String username);
	
	
	
	/**
	 * 保存用户信息.
	 *
	 * @param buyer the buyer
	 */
	public void saveBuyer(Buyer buyer);
	
	
	
	/**
	 * 校验用户信息.
	 *
	 * @param buyer the buyer
	 * @return the boolean
	 */
	public Boolean validUser(Buyer buyer);

}
